* {
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    height: 100%;
    background: url('/assets/images/login_bg.jpg') no-repeat;
    background-size: cover;
}

.layui-main {
    padding-top: 20px;
}

.loginAndRegBox {
    width: 400px;
    height: 310px;
    background-color: #fff;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    .title-box {
        height: 60px;
        line-height: 60px;
        text-align: center;
    }

    #loginBox {
        height: 175px;

        .layui-form {

            .layui-form-item {
                padding: 0 30px;
                position: relative;

                i {
                    position: absolute;
                    top: 10px;
                    left: 40px;
                }

                input {
                    padding-left: 30px;
                }

                a {
                    font-size: 12px;
                }
            }
        }
    }

    #regBox {
        height: 228px;

        .layui-form {

            .layui-form-item {
                padding: 0 30px;
                position: relative;

                i {
                    position: absolute;
                    top: 10px;
                    left: 40px;
                }

                input {
                    padding-left: 30px;
                }

                a {
                    font-size: 12px;
                }
            }
        }
    }
}